package com.seckill.goods.task.dynamic;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;

/**
 * @program: seckill-parent
 * @description: 动态的任务, 定时任务的具体执行的方法
 * @author: zhanghz001
 * @create: 2021-06-27 14:22
 **/
public class ZhzDynamicTask implements SimpleJob {
    @Override
    public void execute(ShardingContext shardingContext) {
        String parameter = shardingContext.getJobParameter();
        System.out.println("执行你的逻辑代码！param: " + parameter);
    }
}
